float -> double for the "Time (type)" test according to the PHP manual
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 9 May 2009 14:19:58 +0000 (14:19 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 9 May 2009 14:19:58 +0000 (14:19 +0000)
t/inc/Global.t

index 28a662c..976ea95 100644 (file)
@@ -46,7 +46,7 @@ is( wfQuotedPrintable( "\xc4\x88u legebla?", "UTF-8" ),
        "=?UTF-8?Q?=C4=88u=20legebla=3F?=", 'Quoted printable' );
 
 $start = wfTime();
-is( gettype( $start ), 'float', 'Time (type)' );
+is( gettype( $start ), 'double', 'Time (type)' );
 $end = wfTime();
 cmp_ok( $end, '>', $start, 'Time (compare)' );